package com.sky.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderDetail implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Long id;

    private String name; //名称
    private Long orderId; //订单id
    private Long dishId; //菜品id
    private Long setmealId; //套餐id
    private String dishFlavor; //口味
    private Integer number; //数量
    private BigDecimal amount; //金额
    private String image; //图片
}
